package com.faxsun.controller.help;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/" + HelpController.CONTEXT_KEY)
public class HelpController {

	protected static final String CONTEXT_KEY = "help";

	@RequestMapping(value = "/{helpViewName}")
	public String getHelpView(@PathVariable("helpViewName") String helpViewName) {
		return HelpController.CONTEXT_KEY + "/" + helpViewName;
	}
}
